import request from '@/utils/request'

// 查询行政区域定义列表
export function listFndProvince(query) {
  return request({
    url: '/basic/fndProvince/list',
    method: 'get',
    params: query
  })
}

// 查询行政区域定义详细
export function getFndProvince(province) {
  return request({
    url: '/basic/fndProvince/' + province,
    method: 'get'
  })
}

// 新增行政区域定义
export function addFndProvince(data) {
  return request({
    url: '/basic/fndProvince',
    method: 'post',
    data: data
  })
}

// 修改行政区域定义
export function updateFndProvince(data) {
  return request({
    url: '/basic/fndProvince',
    method: 'put',
    data: data
  })
}

// 删除行政区域定义
export function delFndProvince(province) {
  return request({
    url: '/basic/fndProvince/' + province,
    method: 'delete'
  })
}
